RPCMD_DIR=../rpc_common_data
CFLAGS=-DCHECK -std=c++0x -I$(RPCMD_DIR)
LDFLAGS=-lrt
CXX=g++
COMMON=rpc_monitor.o rpc_monitor_data.o
LIB_RPCM=librpcmr.a
ALL=$(LIB_RPCM)

%.o:	%.cpp
	$(CXX) $(CFLAGS) -c $<

$(LIB_RPCM):	$(COMMON)
	ar rcTsu $@ $^

all:	$(ALL)

clean:	
	rm *.o $(ALL)
